package com.lx.controller;

import com.lx.annotation.AnoDot;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 首页
 *
 * @author 段誉
 * @create 2019-03-11 14:56
 */
@RestController
public class IndexController {
  @AnoDot
  @GetMapping
  public String index() {
    System.out.println("执行了index方法");
    return "test";
  }


  @GetMapping("/test")
  public String test(Integer num) {
    return "123";
  }
}
